projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fd7fba
)
(url-mailto): Insert body after mail-header-separator if present, so
author
Chong Yidong
<cyd@stupidchicken.com>
Tue, 29 May 2007 15:30:06 +0000
(15:30 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Tue, 29 May 2007 15:30:06 +0000
(15:30 +0000)
that is is before signature. Suggested by Leo Liu <sdl.web@gmail.com>.
lisp/url/url-mailto.el
patch
|
blob
|
history
diff --git
a/lisp/url/url-mailto.el
b/lisp/url/url-mailto.el
index 9f20989a0b18a6c943b9132fdc52a10e4af1c214..6585ba8e4581dd2a31805e89f4a10b153d6738df 100644
(file)
--- a/
lisp/url/url-mailto.el
+++ b/
lisp/url/url-mailto.el
@@
-100,7
+100,9
@@
(while args
(if (string= (caar args) "body")
(progn
- (goto-char (point-max))
+ (goto-char (point-min))
+ (or (search-forward (concat "\n" mail-header-separator "\n") nil t)
+ (goto-char (point-max)))
(insert (mapconcat
#'(lambda (string)
(replace-regexp-in-string "\r\n" "\n" string))